Optimal. Leaf size=224 \[ -\frac {5 b n}{18 d^2 x^3}+\frac {5 b e n}{2 d^3 x}+\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {5 a-b n+5 b \log \left (c x^n\right )}{6 d^2 x^3}+\frac {e \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^3 x}+\frac {e^{3/2} \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^{7/2}}-\frac {5 i b e^{3/2} n \text {Li}_2\left (-\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{4 d^{7/2}}+\frac {5 i b e^{3/2} n \text {Li}_2\left (\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{4 d^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.25, antiderivative size = 224, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 8, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.348, Rules used = {2385, 2380,
2341, 211, 2361, 12, 4940, 2438} \begin {gather*} -\frac {5 i b e^{3/2} n \text {PolyLog}\left (2,-\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{4 d^{7/2}}+\frac {5 i b e^{3/2} n \text {PolyLog}\left (2,\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{4 d^{7/2}}+\frac {e^{3/2} \text {ArcTan}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \left (5 a+5 b \log \left (c x^n\right )-b n\right )}{2 d^{7/2}}+\frac {e \left (5 a+5 b \log \left (c x^n\right )-b n\right )}{2 d^3 x}-\frac {5 a+5 b \log \left (c x^n\right )-b n}{6 d^2 x^3}+\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}+\frac {5 b e n}{2 d^3 x}-\frac {5 b n}{18 d^2 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 211
Rule 2341
Rule 2361
Rule 2380
Rule 2385
Rule 2438
Rule 4940
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c x^n\right )}{x^4 \left (d+e x^2\right )^2} \, dx &=\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {\int \frac {-5 a+b n-5 b \log \left (c x^n\right )}{x^4 \left (d+e x^2\right )} \, dx}{2 d}\\ &=\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {\int \left (\frac {-5 a+b n-5 b \log \left (c x^n\right )}{d x^4}-\frac {e \left (-5 a+b n-5 b \log \left (c x^n\right )\right )}{d^2 x^2}+\frac {e^2 \left (-5 a+b n-5 b \log \left (c x^n\right )\right )}{d^2 \left (d+e x^2\right )}\right ) \, dx}{2 d}\\ &=\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {\int \frac {-5 a+b n-5 b \log \left (c x^n\right )}{x^4} \, dx}{2 d^2}+\frac {e \int \frac {-5 a+b n-5 b \log \left (c x^n\right )}{x^2} \, dx}{2 d^3}-\frac {e^2 \int \frac {-5 a+b n-5 b \log \left (c x^n\right )}{d+e x^2} \, dx}{2 d^3}\\ &=-\frac {5 b n}{18 d^2 x^3}+\frac {5 b e n}{2 d^3 x}+\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {5 a-b n+5 b \log \left (c x^n\right )}{6 d^2 x^3}+\frac {e \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^3 x}+\frac {e^{3/2} \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^{7/2}}-\frac {\left (5 b e^2 n\right ) \int \frac {\tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {d} \sqrt {e} x} \, dx}{2 d^3}\\ &=-\frac {5 b n}{18 d^2 x^3}+\frac {5 b e n}{2 d^3 x}+\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {5 a-b n+5 b \log \left (c x^n\right )}{6 d^2 x^3}+\frac {e \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^3 x}+\frac {e^{3/2} \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^{7/2}}-\frac {\left (5 b e^{3/2} n\right ) \int \frac {\tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{x} \, dx}{2 d^{7/2}}\\ &=-\frac {5 b n}{18 d^2 x^3}+\frac {5 b e n}{2 d^3 x}+\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {5 a-b n+5 b \log \left (c x^n\right )}{6 d^2 x^3}+\frac {e \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^3 x}+\frac {e^{3/2} \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^{7/2}}-\frac {\left (5 i b e^{3/2} n\right ) \int \frac {\log \left (1-\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{x} \, dx}{4 d^{7/2}}+\frac {\left (5 i b e^{3/2} n\right ) \int \frac {\log \left (1+\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{x} \, dx}{4 d^{7/2}}\\ &=-\frac {5 b n}{18 d^2 x^3}+\frac {5 b e n}{2 d^3 x}+\frac {a+b \log \left (c x^n\right )}{2 d x^3 \left (d+e x^2\right )}-\frac {5 a-b n+5 b \log \left (c x^n\right )}{6 d^2 x^3}+\frac {e \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^3 x}+\frac {e^{3/2} \tan ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \left (5 a-b n+5 b \log \left (c x^n\right )\right )}{2 d^{7/2}}-\frac {5 i b e^{3/2} n \text {Li}_2\left (-\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{4 d^{7/2}}+\frac {5 i b e^{3/2} n \text {Li}_2\left (\frac {i \sqrt {e} x}{\sqrt {d}}\right )}{4 d^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.46, size = 361, normalized size = 1.61 \begin {gather*} \frac {1}{36} \left (-\frac {4 b n}{d^2 x^3}+\frac {72 b e n}{d^3 x}-\frac {12 \left (a+b \log \left (c x^n\right )\right )}{d^2 x^3}+\frac {72 e \left (a+b \log \left (c x^n\right )\right )}{d^3 x}-\frac {9 e^{3/2} \left (a+b \log \left (c x^n\right )\right )}{d^3 \left (\sqrt {-d}-\sqrt {e} x\right )}+\frac {9 e^{3/2} \left (a+b \log \left (c x^n\right )\right )}{d^3 \left (\sqrt {-d}+\sqrt {e} x\right )}-\frac {9 b e^{3/2} n \left (\log (x)-\log \left (\sqrt {-d}-\sqrt {e} x\right )\right )}{(-d)^{7/2}}+\frac {9 b e^{3/2} n \left (\log (x)-\log \left (\sqrt {-d}+\sqrt {e} x\right )\right )}{(-d)^{7/2}}+\frac {45 e^{3/2} \left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac {\sqrt {e} x}{\sqrt {-d}}\right )}{(-d)^{7/2}}-\frac {45 e^{3/2} \left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac {d \sqrt {e} x}{(-d)^{3/2}}\right )}{(-d)^{7/2}}-\frac {45 b e^{3/2} n \text {Li}_2\left (\frac {\sqrt {e} x}{\sqrt {-d}}\right )}{(-d)^{7/2}}+\frac {45 b e^{3/2} n \text {Li}_2\left (\frac {d \sqrt {e} x}{(-d)^{3/2}}\right )}{(-d)^{7/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.14, size = 1133, normalized size = 5.06
method | result | size |
risch | \(\text {Expression too large to display}\) | \(1133\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \log {\left (c x^{n} \right )}}{x^{4} \left (d + e x^{2}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,\ln \left (c\,x^n\right )}{x^4\,{\left (e\,x^2+d\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________